package session.stateless;

import entity.Position;
import entity.Role;
import java.util.List;
import javax.ejb.Local;

@Local
public interface PositionSessionBeanLocal {
    public String getPositionDescription(Long positionId); 
    public List<Position> getPositions();
    public List<Role> getRoles(Long positionId);
    public long createPosition(String description, List<Role> role);
    public void updatePosition(Long positionId, String positionDescription, List<Role> positionRoles);
    public void deletePosition(Long positionId);
    
    //Extra methods
    public long getPosition(String positionDescription);
}
